package com.trip_memories;

import signedUser.ChosedAlbum;
import signedUser.Signed;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Main extends Activity {


	@Override
	protected void onCreate(Bundle savedInstanceState) {
		Signed.setDefaultUser();
		ChosedAlbum.setDefaultUser();

		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);

	}

	public boolean onClick(View view) {
		int id = view.getId();

		switch (id) {
		case (R.id.sign_in): {
			startActivity(new Intent(this, SignIN.class));
		}
			break;
		case (R.id.view_albums): {
			startActivity(new Intent(this, ViewAlbum.class));
		}
			break;
		case (R.id.create_album): {
			startActivity(new Intent(this, NewAlbum.class));
		}
			break;
		case (R.id.view_photos): {
			startActivity(new Intent(this, SlideShow.class));

		}
			break;
		case (R.id.take_photo): {
			startActivity(new Intent(this, CameraActivity.class));
		}
			break;
		}
		return true;
	}


}
